package Form;

/*
 * 注册表单Bean类
 */
public class RegisterForm extends ActionForm implements Comparable {

	public RegisterForm(){
		
		
	}
	public RegisterForm(String username,String password,String passwordConfirm,String email){
		
		this.username = username;
		this.password = password;
		this.passwordConfirm = passwordConfirm;
		this.email = email;
	}
	private String username = "";
	private String password = "";
	private String passwordConfirm = "";
	private String email = "";
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPasswordConfirm() {
		return passwordConfirm;
	}
	public void setPasswordConfirm(String passwordConfirm) {
		this.passwordConfirm = passwordConfirm;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	//继承父类
	public boolean equals(Object o){
		
		return false;
	}
	public String toString(){
		
		return "【注册信息】：用户名："+this.username+","+"密码："+this.password+",密码确认："+this.passwordConfirm+","+"电子邮件："+this.email;
	}
	@Override
	public int compareTo(Object arg0) {
		// TODO Auto-generated method stub
		return 0;
	}

}
